pet_0={'type':'dog','master':'wmy',}
pet_1={'type':'cat','master':'zsh'}
pet_2={'type':'dog',"master":'hy'}
pets=[pet_0,pet_1,pet_2]
for pet in pets:
    print(f"The type is {pet['type']},the master is {pet['master']}")